package com.woniu.crowd.service;

import com.alipay.api.AlipayApiException;
import com.woniu.crowd.infra.model.CrowdfundingProducts;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.crowd.service.dto.CrowdProductDto;
import com.woniu.crowd.service.form.SearchCrowdForm;
import com.woniu.crowd.service.form.UPdateCrowdForm;
import com.woniu.crowd.service.form.upCrowdForm;
import com.woniu.result.Result;

import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * <p>
 * 众筹表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2022-11-26
 */
public interface CrowdfundingProductsService extends IService<CrowdfundingProducts> {


    Result upCrowd(upCrowdForm upCrowdForm);


    Result searchCrowd(SearchCrowdForm searchCrowdForm);

    void updateByCrowdId(UPdateCrowdForm uPdateCrowdForm);


    List<CrowdProductDto> listCrowdByUserId(Integer userId);
}
